package ${package};

import br.com.me.ceap.dynamic.extension.base.MetaDocument;
import br.com.me.ceap.dynamic.extension.model.base.UserHumanBeing;
import br.com.me.ceap.dynamic.extension.model.process.ProcessTask;
import br.com.me.ceap.dynamic.extension.process.ActorResolver;

import java.util.ArrayList;
import java.util.List;

public class ActorCurrentLogged implements ActorResolver<MetaDocument> {
    public List<UserHumanBeing> getActors(UserHumanBeing owner, UserHumanBeing current, ProcessTask processTask, MetaDocument metaDocument) {
        List<UserHumanBeing> actors = new ArrayList<UserHumanBeing>();
        actors.add(current);
        return actors;
    }
}